package com.example.user.http

import java.lang.Exception

sealed class HhResult<T>(
        val data: T? = null,
        val message: String? = null
) {
    class Failure<T>(message: String, data: T? = null): HhResult<T>(data, message)

    class Success<T>(data: T): HhResult<T>(data)

}